package com.ity.teamanagement.service;

import com.ity.teamanagement.entity.Varieties;
import com.ity.teamanagement.entity.inputParam.BackAddTeaMessageParam;
import com.ity.teamanagement.entity.inputParam.BackUpdateTeaMessageParam;
import com.ity.teamanagement.entity.inputParam.BackUpdateTeaRemarksMessageParam;

import java.util.List;

/**
 * @author coderFu
 * @create 2021/5/30
 */
public interface TeaManagementService {

    /**
     * 后台添加茶种信息
     * @param backAddTeaMessageParam
     */
    void backAddNewTeaVariety(BackAddTeaMessageParam backAddTeaMessageParam);

    /**
     * 后台根据茶种id更新茶种信息（主信息）
     * @param backUpdateTeaMessageParam
     */
    void backUpdateTeaMessageById(BackUpdateTeaMessageParam backUpdateTeaMessageParam);

    /**
     * 后台根据茶种附加信息表id更新茶种信息
     * @param backUpdateTeaRemarksMessageParams
     */
    void backUpdateTeaRemarksMessageById(List<BackUpdateTeaRemarksMessageParam> backUpdateTeaRemarksMessageParams);

    /**
     * 后台根据茶种id数组删除茶种信息
     * @param ids
     */
    void backDeleteTeaMessageById(List<Long> ids);

    /**
     * 查询所有图片类别
     * @return
     */
    List<Varieties> findAllVariety();

    /**
     * 后台根据茶种附加信息id数组删除茶种附加信息
     * @param ids
     */
    void backDeleteTeaRemarkMessageById(List<Long> ids);
}
